package cn.rokka.rbac.mapper;



import cn.rokka.rbac.domain.Employee;
import cn.rokka.rbac.qo.QueryObject;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmployeeMapper {
    void deleteByPrimaryKey(Long id);

    void insert(Employee record);

    Employee selectByPrimaryKey(Long id);

    List<Employee> selectAll();

    void updateByPrimaryKey(Employee record);

    int selectForCount(QueryObject qo);

    List<Employee> selectForList(QueryObject qo);
}